package act;

public interface IReceiver
{
   /**
    * Receive a message from another actor.
    * @param msg
    */
   public void receive(Object msg);

   /**
    * Set this handler's containing actor. This is guaranteed to be called
    * before any call is made to the handle() method.
    * This actor can be used by the handler to send itself a message
    * or more commonly to pass itself as an actor in messages it sends to other
    * actors it has created or that it receives in messages.
    * The IActor reference can also be used by the handler to create new actors.
    */
   public void setActor(IActor actor);
  
  

}

